package org.example.factoryMethod.HumanFactory;

public class NvWa {

    public static void main(String[] args) throws Exception{
        AbstractHumanFactory YinYangLu=new HumanFactory();

        Human whiteHuman = YinYangLu.createHuman(WhiteHuman.class);
        whiteHuman.getColor();
        whiteHuman.talk();
    }
}
